app.controller("shoppingCtrl",["$scope","shopCar",function($scope,shopCar){
	// $scope.carData = JSON.parse(window.localStorage.car);
	$scope.carData=shopCar.carData
	$scope.allNum=function(){
		var allNumber=0
		for(i in $scope.carData){
            $scope.allNumber=$scope.price*$scope.num
		}
		return allNumber
	}
}])